package com.njitzx.entity.po;

import java.time.LocalDateTime;
import java.math.BigDecimal;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import java.io.Serializable;
import lombok.EqualsAndHashCode;
/**
 * <p>
 * 订单表
 * </p>
 *
 * @author 周鑫
 * @since 2024-08-20
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="Order对象", description="订单表")
public class Order implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主键id")
    private Integer orderId;

    @ApiModelProperty(value = "会员id")
    private Integer memberId;

    @ApiModelProperty(value = "订单号")
    private String orderNumber;

    @ApiModelProperty(value = "订单总金额")
    private Double orderPrice;

    @ApiModelProperty(value = "支付方式  0未支付 1支付宝  2微信  3银行卡 4其他")
    private String payMethod;

    @ApiModelProperty(value = "是否发货")
    private String isSend;

    @ApiModelProperty(value = "物流单号")
    private String logisticsNo;

    @ApiModelProperty(value = "发票抬头 个人 公司")
    private String orderFapiaoTitle;

    @ApiModelProperty(value = "公司名称")
    private String orderFapiaoCompany;

    @ApiModelProperty(value = "发票内容")
    private String orderFapiaoContent;

    @ApiModelProperty(value = "收货人地址")
    private String consigneeAddr;

    @ApiModelProperty(value = "订单状态： 0待付款、1待发货、2待收货、3已完成、4已关闭")
    private Integer status;

    @ApiModelProperty(value = "下单时间")
    private LocalDateTime createTime;

    @ApiModelProperty(value = "发货时间")
    private LocalDateTime sendTime;

}
